package net.wicp.tams.duckula.task.disruptor;

import com.lmax.disruptor.WorkHandler;

import net.wicp.tams.duckula.task.bean.EventPackage;

public class DisruptorHandler implements WorkHandler<EventPackage> {

	// private int spitkeyIndex = -1;// 分库分表键的index
	// private int spitkeyType;// 分库分表键的类型

	@Override
	public void onEvent(EventPackage event) throws Exception {
		if (event.isXid()) {
			return;
		}

		if (event.getRule() != null) {
			//System.out.println(3);
		}
	}

}
